package org.aaron.wbclient.oauth;

public class Constans {
	public static final String CONSUMER_KEY = "801259111";
	public static final String CONSUMER_SECRET = "fe1a1410a04242d7ff7ff6a8ed30e4fb";

	public static final String REQUEST_TOKEN_URL = "http://open.t.qq.com/cgi-bin/request_token";
	public static final String AUTHORIZE_URL = "http://open.t.qq.com/cgi-bin/authorize";
	public static final String ACCESS_TOKEN_URL = "http://open.t.qq.com/cgi-bin/access_token";

	public static final String ENCODING = "UTF-8";

	public static final String OAUTH_CALLBACK_SCHEME = "x-oauthflow";
	public static final String OAUTH_CALLBACK_HOST = "callback";
	public static final String OAUTH_CALLBACK_URL = OAUTH_CALLBACK_SCHEME + "://" + OAUTH_CALLBACK_HOST;

	public static final class TENTENT_WEIBO_API {
		/**
		 * 发送一条微博URL
		 */
		public static final String TENCENTWEIBO_ADD_URL = "http://open.t.qq.com/api/t/add";
		public static final String TENCENTWEIBO_HOME_TIMELINE_URL = "http://open.t.qq.com/api/statuses/home_timeline";
	}
}
